//
//  HJAWSS3Manager.h
//  KaiChat
//
//  Created by lx on 2024/4/16.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface HJAWSS3Manager : NSObject

+ (HJAWSS3Manager *)shareS3Manager;

- (void)downloadWithObjectKey:(NSString *)objectKey toLocalPath:(NSString *)localPath progressBlock:(void(^)(int64_t totalBytesWritten, int64_t bytesWritten))progressBlock completionHandler:(void (^)(NSError * _Nullable error))completionHandler;
- (void)updateWithData:(NSData *)data objectKey:(NSString *)objectKey progressBlock:(void(^)(int64_t totalBytesSent, int64_t completeBytes))progressBlock completionHandler:(void (^)(NSString * _Nullable url, NSError * _Nullable error))completionHandler;


@end

NS_ASSUME_NONNULL_END
